package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(210);"`
	Password string `gorm:"type:varchar(255);"`
}
type UserRole struct {
	gorm.Model
	Uid int `gorm:"type:int(11);"`
	Rid int `gorm:"type:int(11);"`
}
type RoleNode struct {
	gorm.Model
	Rid int `gorm:"type:int(11);"`
	Nid int `gorm:"type:int(11);"`
}
